/**
 * @author LKQ
 * @date 2022/1/31 10:49
 * @description
 */
public class Solution {
    public static void main(String[] args) {
        Solution solution = new Solution();
        solution.getNoZeroIntegers(2);
    }
    public int[] getNoZeroIntegers(int n) {
        for (int i = 1; i <= n / 2; i++) {
            if (concludeZero(i) && concludeZero(n - i)) {
                return new int[] { i, n-i};
            }
        }
        return new int[] {0, 0};
    }
    public boolean concludeZero(int n) {
        String s = "" + n;
        int start = 0;
        while (start < s.length()) {
            if (s.charAt(start) == '0') {
                return false;
            }
            start++;
        }
        return true;
    }
}
